package com.centersoft.flowable.db.task.dao;

import com.centersoft.flowable.db.task.entity.FlowButtonsEntity;
import com.centersoft.parent.base.dao.BaseDao;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public class FlowButtonsDao extends BaseDao<FlowButtonsEntity> {
    @Override
    protected String getCodePrefix() {
        return "";
    }

    public List<FlowButtonsEntity> list(String taskDefId) {
        return listByColumn("taskDefId", taskDefId);
    }
}
